Nothing was calling gdk_wayland_drag_set_source_surface.
}
GdkDrag *
-_gdk_wayland_surface_drag_begin (GdkSurface *surface,
+_gdk_wayland_surface_drag_begin (GdkSurface *surface,
GdkDevice *device,
GdkContentProvider *content,
GdkDragAction actions,
return drag;
}
-
-void
-_gdk_wayland_drag_set_source_surface (GdkDrag *drag,
- GdkSurface *surface)
-{
- if (drag->source_surface)
- g_object_unref (drag->source_surface);
-
- drag->source_surface = surface ? g_object_ref (surface) : NULL;
-}
-
void gdk_wayland_drop_set_action (GdkDrop *drop,
uint32_t action);
-void _gdk_wayland_drag_set_source_surface (GdkDrag *drag,
- GdkSurface *surface);
-
void _gdk_wayland_display_create_surface_impl (GdkDisplay *display,
GdkSurface *surface,
GdkSurface *real_parent,